//
//  DCFLoginManager.h
//  DCF
//
//  Created by 吴文拼 on 2017/12/26.
//  Copyright © 2017年 吴文拼. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DCFUserModel.h"
@interface DCFLoginManager : NSObject

+ (instancetype)sharedInstance;

//保存用户登录信息
- (void)saveLoginUserModelInfo:(DCFUserModel *)model;
//清理用户登录信息
- (void)clearUserInfo;

//正在登录的用户信息
- (DCFUserModel *)currentUser;

//是否已登录
- (BOOL)isLogin;

//退出登录
- (void)logoutWithCompleteBlock:(void(^)(BOOL success))completeBlock;

@property (nonatomic, assign) NSInteger uid;


@end
